1.1.8.13. osx.cocoa.NSError (ObjC)
Check usage of NSError parameters.
Examples:
@interface A : NSObject - (void)foo:(NSError """""""""""""""""""""""")error; @end @implementation A - (void)foo:(NSError """""""""""""""""""""""")error { // warn: method accepting NSError"""""""""""""""""""""""" should have a non-void // return value } @end @interface A : NSObject - (BOOL)foo:(NSError """""""""""""""""""""""")error; @end @implementation A - (BOOL)foo:(NSError """""""""""""""""""""""")error { *error = 0; // warn: potential null dereference return 0; } @end